package com.hzeport.bgs22emduty.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.pagehelper.PageInfo;
import com.hzeport.bgs22emduty.config.login.UserInfoDetailVO;
import com.hzeport.bgs22emduty.dto.*;
import com.hzeport.bgs22emduty.vo.DutyScheduleExchange.DutyScheduleExchangeListVO;
import com.hzeport.bgs22emduty.vo.DutyScheduleExchange.DutyScheduleExchangeSaveVO;
import com.hzeport.bgs22emduty.vo.DutyScheduleExchange.DutyScheduleExchangedetailVO;
import com.hzeport.bgs22emduty.common.base.BaseResult;
import com.hzeport.bgs22emduty.common.base.BaseService;
import com.hzeport.bgs22emduty.entity.DutyScheduleExchange;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * ${comments}
 *
 * @author code generator
 * @date 2022-12-02 11:21:59
 */
public interface DutyScheduleExchangeService extends BaseService<DutyScheduleExchange> {

    BaseResult<Page<DutyScheduleExchangeListVO>> list(DutyScheduleExchangeDTO exchangeDTO, UserInfoDetailVO userInfo);

    BaseResult<DutyScheduleExchangedetailVO> detail(String dId,UserInfoDetailVO userInfo);

    BaseResult<DutyScheduleExchange> saveData(DutyScheduleExchangeSaveVO dutyScheduleExchangeSaveVO, UserInfoDetailVO userInfo) throws Exception;

    BaseResult<Page<DutyScheduleExchangeListVO>> listture(DutyScheduleExchangeListTureDTO dto, UserInfoDetailVO userInfo) throws Exception;

    BaseResult<DutyScheduleExchange> ture(String id,UserInfoDetailVO userInfo) throws Exception;

    BaseResult<Page<DutyScheduleExchangeListVO>> listls(LSDutyScheduleExchangeDTO exchangeDTO);

    BaseResult<DutyScheduleExchangedetailVO> detaills(LSDutyScheduleExchangeDeraillsDTO dto);

    BaseResult<DutyScheduleExchange> saveDatals( DutyScheduleExchangeSaveVO dutyScheduleExchangeSaveVO, HttpServletRequest request);

    BaseResult<Page<DutyScheduleExchangeListVO>> listturels(DutyScheduleExchangeListTureDTO dto);

    BaseResult<DutyScheduleExchange> turels(LSDutyScheduleExchangetureDTO dto, HttpServletRequest request) throws Exception;


    BaseResult<List<String>> listlsTest();
}
